

class LayData(object):

    @staticmethod
    def data(code , msg , count , data):
        return {
            "code":0,
            "msg":'ok',
            "count":count,
            "data":data
        }

    @staticmethod
    def data2(code , msg):
        return {
            "code":code,
            "msg":'ok'
        }